/*---------------------------------------------------------
    ev_classes.lua - Class Setup
	by Lead4u
---------------------------------------------------------*/

evorp.Item = {};
evorp.Item.Items = {};


/*---------------------------------------------------------
	Submit Item to Table | Args: CLASS- CLASS table
---------------------------------------------------------*/

	function evorp.Item:NewItem( ITEM )
		evorp.Item.Items[string.lower(ITEM.UniqueName)] = {};
		
		for k,v in pairs( ITEM ) do
			evorp.Item.Items[string.lower(ITEM.UniqueName)][k] = v;
		end

	end
	
	
-- concommand.Add("moo", function( player, cmd, args )
	
	-- local tr = player:GetEyeTrace()
	-- local ev_testent = ents.Create( "ammo" )
		-- ev_testent:SetModel( evorp.Item.Items["pistolammo"].Model )
		-- ev_testent:SetPos( tr.HitPos )
		-- ev_testent:SetName( "pistolammo" )
		-- ev_testent:Spawn() 
		
-- end)